import type {XtxGuessInstance} from "@/types/componnets";
import {ref} from "vue";

/**
 * 猜你喜欢业务
 */
export const useGuessList = () => {
  // 获取猜你喜欢组件实例
  const guessRef = ref<XtxGuessInstance>()
  //滚动条触底
  const onScrolltolower = () => {
    guessRef.value.getMore()
  }
  return {
    guessRef,
    onScrolltolower
  }
}
